package org.example.seata.common.rabbitmq.constant;

/**
 * @author hzq
 * @date 2021/11/29 17:51
 */
public interface ExchangeQueueRoutingKey {

    /**
     * 订单交换器
     */
    String ORDER_DIRECT_EXCHANGE = "order.direct.mode";

    /**
     * 订单延时交换器
     */
    String ORDER_DELAY_DIRECT_EXCHANGE = "order.delay.direct.mode";

    /**
     * 订单队列
     */
    String ORDER_DIRECT_QUEUE = "order.direct.queue";

    /**
     * 订单支付队列
     */
    String ORDER_PAY_DIRECT_QUEUE = "order.pay.direct.queue";

    /**
     * 订单延时队列
     */
    String ORDER_DELAY_DIRECT_QUEUE = "order.delay.direct.queue";

    /**
     * 订单路由键
     */
    String ORDER_DIRECT_ROUTING_KEY = ORDER_DIRECT_QUEUE;

    /**
     * 订单支付路由键
     */
    String ORDER_PAY_DIRECT_ROUTING_KEY = ORDER_PAY_DIRECT_QUEUE;

    /**
     * 订单延时路由键
     */
    String ORDER_DELAY_DIRECT_ROUTING_KEY = ORDER_DELAY_DIRECT_QUEUE;

}
